package cwy.flylab.http;

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;

public class HttpUtils {
	public static InputStream getInputStream(String urlStr) throws IOException {
		URL url = new URL(urlStr);
		URLConnection conn = url.openConnection();
		return conn.getInputStream();
	}
}
